<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>只要一句JS代码，就可以生成随机颜色</title>
</head>
<body>
    <script>
        document.body.style.backgroundColor = `#${Math.floor(Math.random() * 0xffffff).toString(16)}`;
    </script>
</body>
</html>
